package com.cityfood.mapper;

import com.cityfood.pojo.CfAdvertising;
import com.cityfood.pojo.CfAdvertisingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CfAdvertisingMapper {
    int countByExample(CfAdvertisingExample example);

    int deleteByExample(CfAdvertisingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CfAdvertising record);

    int insertSelective(CfAdvertising record);

    List<CfAdvertising> selectByExample(CfAdvertisingExample example);

    CfAdvertising selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CfAdvertising record, @Param("example") CfAdvertisingExample example);

    int updateByExample(@Param("record") CfAdvertising record, @Param("example") CfAdvertisingExample example);

    int updateByPrimaryKeySelective(CfAdvertising record);

    int updateByPrimaryKey(CfAdvertising record);
}